package xyz.luhui1hao.springboottest.domain;

import com.fasterxml.jackson.annotation.JsonProperty;

public class PersonWrapperEntity {
    @JsonProperty("id")
    private int id;
    @JsonProperty("person")
    private PersonEntity personEntity;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public PersonEntity getPersonEntity() {
        return personEntity;
    }

    public void setPersonEntity(PersonEntity personEntity) {
        this.personEntity = personEntity;
    }

    @Override
    public String toString() {
        return "PersonWrapperEntity{" +
                "id=" + id +
                ", personEntity=" + personEntity +
                '}';
    }
}
